package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author: jiangren.li
 * @date: 2021/11/24 9:29
 * @desrcption: 自定义查重关联字段
 */
@Getter
@Setter
@ToString
public class CustomRepeatLinkExplainDTO extends BaseDTO {
    private static final long serialVersionUID = -3418336847611776087L;

    @NotNull(message = "表单ID不能为空")
    private Long formId;

    @NotNull(message = "业务类型不能为空")
    private Integer businessType;

    @NotBlank(message = "字段标识不能为空")
    private String attr;

    /**
     * 字段类型
     */
    @NotNull(message = "字段类型不能为空")
    private Integer fieldType;

    /**
     * saas标记
     */
    private Integer saasMark;
}
